import 'package:flutter/material.dart';
import 'package:flutter/services.dart';


class PaddingPage extends StatelessWidget {
  final SystemUiOverlayStyle _style = SystemUiOverlayStyle(statusBarColor: Colors.transparent);
  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(_style);
    // TODO: implement build
    return MaterialApp(
      home: PaddingWidget(),
      theme: ThemeData(primarySwatch: Colors.yellow),
    );
  }
}

class PaddingWidget extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return _PaddingPage();
  }
}

class _PaddingPage extends State<StatefulWidget> {

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text("Padding Page"),
      ),
      body: Container(
        width: 400,
        height: 400,
        color: Colors.blue,
        child: Padding(
          padding: EdgeInsets.fromLTRB(10, 20, 100, 100),
          child: Container(
            width: 100,
            height: 100,
            color: Colors.green,
          ),
        ),
      ),
    );
  }
}